﻿using Microsoft.AspNet.Identity.EntityFramework;
using System;

namespace MVCForum.Mvc5.Identity.Models {

	/// <summary>
	/// Class representing a ApplicationUser, with the properties matching the old Membership implementation.
	/// </summary>
	public class ApplicationUser : IdentityUser {
		/// <summary>
		/// The creation date of the user
		/// </summary>
		public DateTime CreationDate { get; set; }
		/// <summary>
		/// Is the user approved
		/// </summary>
		public Boolean Approved { get; set; }
		/// <summary>
		/// Date of the last activity of the user
		/// </summary>
		public DateTime LastActivityDate { get; set; }
		/// <summary>
		/// Date of the last lock-out
		/// </summary>
		public DateTime LastLockoutDate { get; set; }
		/// <summary>
		/// Date of last log in
		/// </summary>
		public DateTime LastLoginDate { get; set; }
	}
}